<script lang="ts" setup>
  import Button from '@sscd/button';
  import Message from '@sscd/message';
  const success = () => {
    Message.success(
      'This is a prompt message for success, and it will disappear in 10 seconds',
      10
    );
  };
</script>

<template>
  <div class="demo">
    <div class="demo-title">修改延时</div>
    <div class="demo-content">
      <Button @click="success">Customized display duration</Button>
    </div>
  </div>
</template>
